﻿using AutoMapper;
using Che.AppService.AppService.Itrophy;
using Che.AppService.Dto;
using Che.Domain.Entity.EventsBut;
using Che.Domain.Entity.trophy;
using Che.Domain.repository.trophy;
using Che.Domain.repository.trophy;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Che.AppService.AppService.Iitrophy
{
    public class APPtrophy : APPItrophy
    {
        private readonly IMapper mapper;
        private readonly Che.Domain.repository.trophy.Itrophy iu;

        public APPtrophy(IMapper mapper, Che.Domain.repository.trophy.Itrophy iu)
        {
            this.mapper = mapper;
            this.iu = iu;
        }

        public Task<bool> addEvents(Event en)
        {
            return iu.addEvents(en);
        }

        public Task<List<EventDetail>> EventDetailque()
        {
            return iu.EventDetailque();
        }

        public Task<List<EventType>> eventTypes()
        {
            return iu.eventTypes();
        }

        public Task<List<FootballAdd>> footballAddsquest()
        {
           return iu.footballAddsquest();
        }

        public Task<List<Stadium>> footballs()
        {
            return iu.footballs();
        }

        public Task<List<trophyq>> trophyqs()
        {
            return iu.trophyqs();
        }
    }
}
